<?php
#####################################################
# RWCARDS - Joomla E-Cards Componment!
# Copyright (C) 2004/2005 by Ralf Weber
# Company    : LoadBrain
# Homepage   : www.weberr.de
# Version    : 2.1.0
# Date       : 23/11/2005
# License    : Released under GPL
######################################################

// ensure this file is being included by a parent file
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

class menurwcards
{
	function EDIT_MENU() 
	{
		mosMenuBar::startTable();
		mosMenuBar::save();
    	mosMenuBar::spacer();
		mosMenuBar::cancel();
		mosMenuBar::spacer();
		mosMenuBar::endTable();
	}

	function IMAGES_MENU() 
	{
		mosMenuBar::startTable();
		mosMenuBar::publish("publish_images");
		mosMenuBar::spacer();
		mosMenuBar::spacer();
		mosMenuBar::unpublish("unpublish_images");
		mosMenuBar::spacer();
		mosMenuBar::spacer();
		mosMenuBar::deleteList("", "remove_image");
		mosMenuBar::spacer();
		mosMenuBar::spacer();
		mosMenuBar::custom("list", "back.png", "back_f2.png", _REFL_OVERWIEW, false);
		mosMenuBar::spacer();
		mosMenuBar::endTable();
	}

	function ABOUT_MENU() 
	{
		mosMenuBar::startTable();
		mosMenuBar::custom("main", "back.png", "back_f2.png", _ADMIN_BACK, false);
		mosMenuBar::spacer();
		mosMenuBar::endTable();
	}
  
	function CONFIG_MENU() 
  	{
		mosMenuBar::startTable();
		mosMenuBar::save("save_config");
		mosMenuBar::spacer();
		mosMenuBar::cancel();
		mosMenuBar::spacer();
		mosMenuBar::endTable();
  	}

	function CATEGORY_MENU()
	{
		mosMenuBar::startTable();
		mosMenuBar::addNewX("new_category");
		mosMenuBar::editListX("edit_category");
		mosMenuBar::deleteList("", "delete_category");
		mosMenuBar::spacer();
		mosMenuBar::publish();
		mosMenuBar::unpublish();
		mosMenuBar::endTable();
	}

	function CATEGORY_SAVE_MENU() 
  	{
		mosMenuBar::startTable();
		mosMenuBar::save("save_category");
		mosMenuBar::spacer();
		mosMenuBar::cancel();
		mosMenuBar::spacer();
		mosMenuBar::endTable();
  	}	

	function SENTCARDS_MENU()
	{
		mosMenuBar::startTable();
		mosMenuBar::deleteList("", "delete_sentcards");
		mosMenuBar::spacer();
		mosMenuBar::cancel();
		mosMenuBar::endTable();
	}
	
	function CARDS_MENU()	
	{
		mosMenuBar::startTable();
		mosMenuBar::addNewX("new_card");
		mosMenuBar::editListX("edit_card");
		mosMenuBar::deleteList("", "delete_card");
		mosMenuBar::spacer();
		mosMenuBar::publish("publish_card");
		mosMenuBar::unpublish("unpublish_card");
		mosMenuBar::endTable();
	}

	function CARD_SAVE_MENU() 
  	{
		mosMenuBar::startTable();
		mosMenuBar::save("save_card");
		mosMenuBar::spacer();
		mosMenuBar::cancel();
		mosMenuBar::spacer();
		mosMenuBar::endTable();
  	}	
			
	function DEFAULT_MENU()
	{
		mosMenuBar::startTable();
		mosMenuBar::endTable();
	}
}
?>